import request from '@/utils/request'
function getUrl(url) { return '/api/' + url }

//维保考核记录
export function getInCheckRecordsVo(data) {
    return request({
        url: getUrl("admin/inCheckRecords/getInCheckRecordsVo"),
        method: 'post',
        data
    })
}
//删除维保考核记录
export function removeInCheckRecords(data){
    return request({
        url: getUrl("admin/inCheckRecords/removeInCheckRecords"),
        method: 'post',
        data
    })
}
//添加维保考核记录
export function addInCheckRecords(data){
    return request({
        url: getUrl("admin/inCheckRecords/addInCheckRecords"),
        method: 'post',
        data
    })
}
//修改维保考核记录
export function updateInCheckRecords(data){
    return request({
        url: getUrl("admin/inCheckRecords/updateInCheckRecords"),
        method: 'post',
        data
    })
}